﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AttendanceSysytem.Models
{
    [SugarTable("WorkScheduling")]
    public class WorkScheduling
    {
        [SugarColumn(ColumnName = "Id",IsIdentity =true,IsPrimaryKey =true  )]
        public int Id {  get; set; }

       [SugarColumn(ColumnName = "DateKey")]
        public string DateKey {  get; set; }

        /// <summary>
        /// 1 办公室员工 2 车间员工
        /// </summary>
        [SugarColumn(ColumnName = "EmployeeType")]
        public int EmployeeType {  get; set; }

        /// <summary>
        /// 排班状态 1 工作 2 休息 
        /// </summary>
        [SugarColumn(ColumnName = "Status")]
        public int Status {  get; set; }

        /// <summary>
        /// 所属日期
        /// </summary>
        [SugarColumn(ColumnName = "Date")]
        public DateTime Date { get; set; }

    }
}
